package com.niguang.work.labour.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.niguang.work.labour.api.entity.AppUser;
import com.niguang.work.labour.api.mapper.AppUserMapper;
import com.niguang.work.labour.api.service.AppUserService;
import com.niguang.work.labour.api.vo.IcCardSearchVo;
import com.niguang.work.labour.api.vo.SynchroMembersVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE 服务实现类
 * </p>
 *
 * @author 83673
 * @since 2018-11-17
 */
@Service
public class AppUserServiceImpl extends ServiceImpl<AppUserMapper, AppUser> implements AppUserService {
    @Override
    public SynchroMembersVo.SynchroMembersNoVo getSynchroMembersByUserId(Long userId) {
        return baseMapper.getSynchroMembersByUserId(userId);
    }

    @Override
    public List<IcCardSearchVo> selectIcCardUsers(String phone, String icCard, Long laborId) {
        return baseMapper.selectIcCardUsers(phone, icCard, laborId);
    }

    @Override
    public Integer updateIcCardById(Long id) {
        return baseMapper.updateIcCardById(id);
    }


}
